<?php if (!defined('THINK_PATH')) exit();?> <html>
   <head>
		<meta  charset = "utf-8">
		<style>
		 input{
		    border:0px;
		 }
		</style>
		<link rel="stylesheet" href="<?php echo (APP_INDEX); ?>/css/bootstrap.min.css">
   </head>
   <body>
		<center>
		   
		     <h3>问题管理系统</h3>
			 <a href="<?php echo U('problem/select');?>">查看信息</a>&nbsp;
		     <a href="<?php echo U('problem/add');?>">添加信息</a>
		     <hr>  
			 <form action="<?php echo U('problem/update');?>"  method="post"  >
			<table  width = "300"  border = "1" cellspacing = "0"  class="table-bordered  " >
			   <input type="hidden" name="id"  value="<?php echo ($list['id']); ?>">
			   
			   <tr class="active"  >
			    
					<td style="width:100px">问题名称</td>
					<td><input type = "text" name = "name"  value = "<?php echo ($list['name']); ?>"></td>
					
			   </tr>
			    <tr>
					<td>问题描述</td>
					<td><textarea  rows='5' cols='30'  name='desc'><?php echo ($list['desc']); ?></textarea></td>
					
			   </tr>
			   <tr>
					<td>是否解决</td>
					<td><select name="isSolve">
					   <option value='1' <?php if($list["issolve"] == 1 ): ?>selected<?php endif; ?>>未解决</option>
					   <option value='2' <?php if($list["issolve"] == 2 ): ?>selected<?php endif; ?>>已解决</option>
			   
			  
			     
			     </select></td>
					
			   </tr>
			   <tr>
			      <td colspan = "2"  align = "center">
				     <input type = "submit" value = "修改">
				     <input type = "reset" value = "重置">
				  </td>
			   </tr>
			</table>
		   </form>
		</center>
   </body>
 </html>